#!/usr/bin/env python
# -*- coding:utf-8 -*-
# author:HeWenjun
# datetime:2023/11/9 15:24
# software: PyCharm
def assemble_the_body(name, version, description, website):
    subject = f'咪咕OA{name}{version}安全扫描申请'
    html_text = f'''
            <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
    <div style="margin:1px;">
    <p>安全扫描地址：<a href="{website}">{website}</a></p>
    <p>SPMS对应的系统:OA-{name}</p>
    <p>版本号：{version}</p>
    <p>SPMS编号和标题：</p>
    <p>{description}</p>
    <p>测试账号：hechusheng</p>
    </div>
    <div><br></div>
    <hr id="FMSigSeperator" style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
    <div><span id="_FoxFROMNAME"><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">何文俊 &nbsp; &nbsp; &nbsp; 测试工程师</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">手 机：18280435294</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">邮 箱：hewj@mochasoft.com.cn</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">网 址：http:// www.mochasoft.com.cn</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">地 址：<span
            style="line-height: normal;">北京市海淀区东北旺西路软件园（二期）华胜天成科研大楼5层（邮编：100193）</span></font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp; * &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* * &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">摩卡软件（天津）有限公司 &nbsp; Mocha Software Co., Ltd.</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">品质缔造卓越，创新成就未来</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp; * &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* * &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;* &nbsp;</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">未经发件人同意，请不要向任何人转发、复制本邮件内容。如果您并非该收件人或错收此邮件，请联系发件人</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">并退还此邮件，并请立即删除所有邮件及其附件。</font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;"><br></font></div><div
            style="font-family: &quot;Microsoft YaHei UI&quot;; font-size: 14px; line-height: 21px;"><font face="Yu Gothic"
                                                                                                           style="font-size: 12px;">Please do not forward or copy the contents of this email to anyone without the consent of the sender.If this e-mail is not originally intended for you, or received by you in error, please contact the sender by return e-mail and do not disclose its content to anyone and destroy all copies of the original message immediately.</font></div></div></span>
    </div>
    </body>
    </html>
            '''
    return subject, html_text
